﻿/*
* ==============================================================================
*
* FileName: CompanyDto.cs
* Created: 2020/6/08 10:45:49
* Author: Meiam
* Description: 
*
* ==============================================================================
*/
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;

namespace Meiam.System.Model.Dto
{

    /// <summary>
    /// MES数据对象
    /// </summary>
    public class TMSShipping_PlanCreate_2Dto : PageParm
    {

        /// <summary>
        /// 描述 :  
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "")]
        public string QueryText { get; set; }

    }


    /// <summary>
    /// 条码生成主表
    /// </summary>
    public class TMSShipping_PlanCreate_2RequestDto
    {
        /// <summary>
        /// 描述 : 基地编码 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "factory_code")]
        public string factory_code { get; set; }

        public List<TMSShipping_PlanCreateDetails_2RequestDto> rows { get; set; }
    }

    /// <summary>
    /// 条码生成明细表
    /// </summary>
    public class TMSShipping_PlanCreateDetails_2RequestDto
    {


        /// <summary>
        /// 描述 : 计划流水号ID 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "ccode")]
        public string ccode { get; set; }
        /// <summary>
        /// 描述 : 发货日期 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "ddate")]
        public string ddate { get; set; }
        /// <summary>
        /// 描述 : 客户名称 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "customer_name")]
        public string customer_name { get; set; }
        /// <summary>
        /// 描述 : 发货地址 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "s_address_value")]
        public string s_address_value { get; set; }
        /// <summary>
        /// 描述 : 收货地址 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "t_address_value")]
        public string t_address_value { get; set; }
        /// <summary>
        /// 描述 : 合同号 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "customerpo")]
        public string customerpo { get; set; }
        /// <summary>
        /// 描述 : 销售人员 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "salesman")]
        public string salesman { get; set; }
        /// <summary>
        /// 描述 : 订单类型 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "sotype")]
        public string sotype { get; set; }
        /// <summary>
        /// 描述 : 销售订单号 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "salesorderno")]
        public string salesorderno { get; set; }
        /// <summary>
        /// 描述 : 规格型号 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "specifications")]
        public string specifications { get; set; }
        /// <summary>
        /// 描述 : 物料编码 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "materialcode")]
        public string materialcode { get; set; }
        
        /// 描述 : 产品名称 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "materialname")]
        public string materialname { get; set; }
        /// <summary>
        /// 描述 : 对账明细 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "resistance")]
        public string resistance { get; set; }

        /// <summary>
        /// 描述 : 数量 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "materialamount")]
        public double materialamount { get; set; }


        /// <summary>
        /// 描述 : 重量 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "materialweight")]
        public double materialweight { get; set; }


        /// <summary>
        /// 描述 : 备注 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "remarks")]
        public string remarks { get; set; }


        /// <summary>
        /// 描述 : 需求车次 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "carnum")]
        public string carnum { get; set; }

        /// <summary>
        /// 描述 : 销售订单行ID 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "salesorderline")]
        public string salesorderline { get; set; }

        /// <summary>
        /// 描述 : 产品分类 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "producttype")]
        public string producttype { get; set; }

        /// <summary>
        /// 描述 : 掺杂类型 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "stickmodel")]
        public string stickmodel { get; set; }

        /// <summary>
        /// 描述 : 规格尺寸 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "sticksize")]
        public string sticksize { get; set; }

        /// <summary>
        /// 描述 : 厚度 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "mthickness")]
        public string mthickness { get; set; }

        /// <summary>
        /// 描述 : 等级 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "mgrade")]
        public string mgrade { get; set; }

        /// <summary>
        /// 描述 : 倒角 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "mchamfer")]
        public string mchamfer { get; set; }

        /// <summary>
        /// 描述 : 边距长 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "marginslength")]
        public string marginslength { get; set; }

        /// <summary>
        /// 描述 : 边距宽 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "marginswide")]
        public string marginswide { get; set; }
        /// <summary>
        /// 描述 : 边距对角线 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "marginsdiagonal")]
        public string marginsdiagonal { get; set; }

        /// <summary>
        /// 描述 : 发货申请编号 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "deliverno")]
        public string deliverno { get; set; }

        /// <summary>
        /// 描述 : 联系人 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "contacts_user")]
        public string contacts_user { get; set; }

        /// <summary>
        /// 描述 : 联系电话 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "contacts_phone_num")]
        public string contacts_phone_num { get; set; }

        /// <summary>
        /// 描述 : 关联交易订单号 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "inner_salesorderno")]
        public string inner_salesorderno { get; set; }

        /// <summary>
        /// 描述 : 配送方式 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "delivery_type")]
        public string delivery_type { get; set; }

        /// <summary>
        /// 描述 : 客户备注 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "out_remark")]
        public string out_remark { get; set; }


        /// <summary>
        /// 描述 : 是否关联交易 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "is_inner_order")]
        public string is_inner_order { get; set; }

        /// <summary>
        /// 描述 : 客户主批次号 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "customer_batch_no")]
        public string customer_batch_no { get; set; }

        /// <summary>
        /// 描述 : 销售订单行号 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "salesorder_lineno")]
        public string salesorder_lineno { get; set; }

        /// <summary>
        /// 描述 : 终端销售订单号 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "end_salesorder")]
        public string end_salesorder { get; set; }

        /// <summary>
        /// 描述 : 终端销售订单行号 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "end_orderlineno")]
        public string end_orderlineno { get; set; }

        /// <summary>
        /// 描述 : 客户编码 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "customer_code")]
        public string customer_code { get; set; }

        /// <summary>
        /// 描述 : 托数 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "plan_pall")]
        public string plan_pall { get; set; }


    }

    /// <summary>
    /// 条码生成主表
    /// </summary>
    public class TMSShipping_PlanCreate_2ResponseDto
    {
        /// <summary>
        /// 描述 : 返回行状态 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "code")]
        public int code { get; set; }

        /// <summary>
        /// 描述 :  
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "message")]
        public string message { get; set; }

    }
}
